import Layout from '@/layout'

export default {
  path: '/',
  component: Layout,
  redirect: '/manufacture',
  children: [{
    path: '/manufacture',
    component: () => import('@/views/manufacture/index'),
    children: [{
      path: 'equipment',
      component: () => import('@/views/manufacture/equipment/index')
    },{
      path: 'material',
      component: () => import('@/views/manufacture/material/index')
    }, {
      path: 'product',
      component: () => import('@/views/manufacture/product/index')
    }, {
      path: 'technique',
      component: () => import('@/views/manufacture/technique/index')
    }, {
      path: 'data_template_list',
      component: () => import('@/views/manufacture/data_template_list/index')
    }, {
      path: 'data_template_design/:manufactureRecordTemplateId',
      component: () => import('@/views/manufacture/data_template_list/design')
    }, {
      path: 'manufacture_list_apply',
      component: () => import('@/views/manufacture/manufacture_list_apply/index')
    }, {
      path: 'manufacture_list_todo',
      component: () => import('@/views/manufacture/manufacture_list_todo/index')
    }, {
      path: 'manufacture_list_record',
      component: () => import('@/views/manufacture/manufacture_list_record/index')
    }, {
      path: 'manufacture_list_archive',
      component: () => import('@/views/manufacture/manufacture_list_archive/index')
    }, {
      path: 'manufacture_stat',
      component: () => import('@/views/manufacture/manufacture_stat/index')
    }]
  }]
}
